package com.lsl.domain;

/**打印机
 * @author lishuailong
 * @create 2020-06-19 16:07
 */
public class Printer implements  Equipment {
    /**
     * 表示机器的型号
     */
    private String model;
    /**
     * 表示机器的类型
     */
    private String type;
    @Override
    public String getDescription() {
        return model+"("+type+")";
    }

    public Printer(String model, String type) {
        this.model = model;
        this.type = type;
    }

    public Printer() {
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
